﻿using Freshbooks.XmlSerializers;

namespace Freshbooks.Model
{
    [FreshbooksSerialization(Name = "tax")]
    public class Tax
    {
        [FreshbooksSerialization(Name = "tax_id")]
        public int TaxId { get; set; }

        [FreshbooksSerialization(Name = "name")]
        public string Name { get; set; }

        [FreshbooksSerialization(Name = "rate")]
        public float Rate { get; set; }

        [FreshbooksSerialization(Name = "number")]
        public string Number { get; set; }

        [FreshbooksSerialization(Name = "compound")]
        public bool Compound { get; set; }
    }
}
